<script>
lang.artist_name = '歌手名称'; 
</script>

<!--歌手添加-->
<div class="dialog_content">
	<form id="info_form" name="info_form" action="{:u('menu/add')}" method="post">
    <table width="100%" class="table_form">
        <tr>
          <th>歌手名称 :</th>
          <td><input type="text" name="artist_name" id="artist_name" class="input-text"></td>
        </tr>
        <tr>
          <th>图片 :</th>
          <td><input type="text" name="artist_pic" id="artist_pic" class="input-text"></td>
        </tr>
        <tr>
          <th>排序 :</th>
          <td><input type="text" name="ordid" id="ordid" size="10" class="input-text"></td>
        </tr>
        <tr>
          <th>是否显示 :</th>
          <td>
            <label><input type="radio" name="display" class="radio_style" value="1" checked="checked"> {:L('yes')}&nbsp;&nbsp;</label>
            <label><input type="radio" name="display" class="radio_style" value="0"> {:L('no')}</label>
          </td>
        </tr>
    </table>
    </form>
</div>

<script>
$(function(){
	$("#name").formValidator({ onshow:lang.please_input+lang.artist_name, onfocus:lang.please_input+lang.artist_name, oncorrect:lang.input_right}).inputValidator({ min:1, onerror:lang.please_input+lang.artist_name});
})
</script>